//
//  HeroCell.h
//  CandyCrushClone
//
//  Created by Petar on 5/8/15.
//  Copyright (c) 2015 Nestorov Engineering. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HeroInfo.h"

@protocol HeroInfoCellDelegate <NSObject>

- (void)didPressBuyHeroButtonAtIndexPath:(NSIndexPath *)indexPath;
- (void)didPressUpgradeProduceButtonAtIndexPath:(NSIndexPath *)indexPath;
- (void)didPressUpgradeAttackButtonAtIndexPath:(NSIndexPath *)indexPath;
- (void)didPressHeroButtonAtIndexPath:(NSIndexPath *)indexPath;
- (void)didPressInfoButton;

@end

@interface HeroInfoCell : UITableViewCell

@property (weak, nonatomic) id <HeroInfoCellDelegate> delegate;

- (void)configureWithHeroInfo:(HeroInfo *)heroInfo forIndexPath:(NSIndexPath *)indexPath;

@end
